<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    <%@taglib uri="estateTag" prefix="estateTag" %>
<%@taglib prefix="s" uri="/struts-tags"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>建议留言信息</title>
<meta http-equiv="pragma" content="no-cache">
		<meta http-equiv="cache-control" content="no-cache">
		<meta http-equiv="expires" content="0">
		<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
		<meta http-equiv="description" content="This is my page">
	    <link rel="stylesheet" href="../resource/css/whole.css" type="text/css"></link>
	    <link rel="stylesheet" href="../resource/css/memberCenter/infowithoutmenu.css" type="text/css"></link>
		<link rel="stylesheet" href="../resource/css/global.css" type="text/css"></link>
	    <script src="../resource/js/jquery-1.4.2.js"></script>
	    <script type="text/javascript" src="suggestInfo.js"></script>
	    <link rel="stylesheet" type="text/css" href="../resource/css/easyui/default/easyui.css">
		<link rel="stylesheet" type="text/css" href="../resource/css/easyui/icon.css">
		<script type="text/javascript" src="../resource/js/kindeditor/kindeditor.js"></script>
	<link rel="stylesheet" type="text/css" href="../resource/js/kindeditor/skins/default.css"></link>
	<link rel="stylesheet" href="../resource/css/memberCenter/infowithoutmenu.css" type="text/css"></link>
</head>
<body ><estateTag:security></estateTag:security>
	<center><jsp:include page="../index/top.jsp"></jsp:include></center>
 <div style="width: 100%;margin-top: 10px;" align="center"><input id="menuCls" type="hidden" value="331">
 	 	<form id="sysAgentBean" name="sysAgentBean"  onsubmit="return checkform()"
							 action="../suggest/reply.shtml"
							method="post">
 	 <table class="layoutTab" style="border: 0px red solid;">
    	<tr>
    	 <!-- <td width="20%" align="left" valign="top"><jsp:include page="../menu.jsp"></jsp:include></td> --> 
    		<td valign="top" align="center">
    			<div class="position" align="left"><label>您所在的位置：</label>网站声明管理&nbsp;&nbsp;--&gt;&gt;&nbsp;&nbsp;意见反馈管理</div>
    			<br/>
    			<div class="info_top"></div>
    				<div class="info_mid" align="center">
    					<table border="0" style="margin-left: 25px;" cellpadding="0" cellspacing="0" width="960px" >
					         <tr>
						<td valign="top" align="center" >
    					<table id="userinfo" width="940px" border="0" cellpadding="1" cellspacing="1">
    					<tr><th colspan="2" align="left" class="title_info1">
    					<b><s:if test="flag==1">
						【建议查看】  
						</s:if>
							<s:if test="flag==2">
							【建议评价】 
						</s:if>
						<s:if test="flag==3">
						【建议修改】  
						</s:if>
						</b>
					</th></tr>
    						<tr><td align="right"  width="30%">	标题：</td>
    						<td align="left">
    							<s:if test="flag==3">
    								<input type="text" name="suggest.title" value='<s:property value="suggest.title"/>'>
    							</s:if>
    							<s:else>
    						    	<s:property value="suggest.title" />
    						    </s:else>
    						    <input type="hidden" name="suggest.id" value='<s:property value="suggest.id"/>'>
								<input type="hidden" name="flag" value='<s:property value="flag"/>'>
    						 </td></tr>
							<tr><td align="right">建议提交时间：</td><td align="left">
    						&nbsp;<s:property value="suggest.creatTimeStr"  /> 
    						</td></tr>	
    						<tr><td align="right">内容：</td>
    						<td align="left">
    						<s:if test="flag==3">
    								<textarea cols="65" rows="5" name="suggest.content"><s:property value="suggest.content" /></textarea>
    							</s:if>
    							<s:else>
		    						<s:property value="suggest.content" />
    						    </s:else>
    						</td>
    						</tr>
    						<s:if test="flag==2">
    						<s:if test="suggest.reply != null">
	    						<tr>
	    						<td align="right">回复时间：</td><td align="left">
	    						&nbsp;<s:property value="suggest.acceptTimeStr"  /> 
	    						</td></tr>
	    						</s:if>
    						<tr><td align="right">回复内容：</td><td align="left"><textarea cols="65" rows="5" name="suggest.replayContent" id="replycontent"><s:property value="suggest.replayContent" /></textarea></td></tr>
    						</s:if>
    						<s:if test="flag==1">
	    						<s:if test="suggest.replayContent != null">
	    						<tr><td align="right">回复时间：</td><td align="left">
	    						&nbsp;<s:property value="suggest.acceptTimeStr"  /> 
	    						</td></tr>	
	    					    <tr><td align="right">回复内容：</td><td align="left"><s:property value="suggest.replayContent" /></td></tr>
	    					    </s:if>
    					    </s:if>
    						<tr>
    					<td align="right">&nbsp;</td>
    					<td align="left">
    					      <s:if test="flag==2">
    						  <input type="submit" value="确认回复">&nbsp;&nbsp;
    						  </s:if>
    					      <s:if test="flag==3">
    						  <input type="submit" value="保存">&nbsp;&nbsp;
    						  </s:if>
							  <input type="button" onclick="history.back(1)" value="返 回">&nbsp;&nbsp;
    						</td>
    					</tr>
    					</table>
    					</td>
    					</tr>
    					
    					</table>
    				</div>
				<div class="info_bottom">&nbsp;</div>
    		</td>
    	</tr>
    </table>
    </form>
 </div>
	<center> <iframe src="../index/footer.html" width="970" height="120" frameborder="0" scrolling="no"></iframe> </center></body>
  <script>
			
</script>

</html>